package com.example.hyw.szysteam.POJO;

/**
 * Created by HYW on 2018/6/5.
 */

public class HttpResult<T> {
    private int result;
    private T content;

    public static final int RESULT_SUCCESS=0;//操作成功
    public static final int RESULT_FAIL=1;//操作失败

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public T getContent() {
        return content;
    }

    public void setContent(T content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "HttpResult{" +
                "result=" + result +
                ", content=" + content +
                '}';
    }
}
